.class Lcom/brixd/niceapp/community/CommunityAppListFragment$1;
.super Ljava/lang/Object;
.source "CommunityAppListFragment.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/community/CommunityAppListFragment;->initViews(Landroid/view/LayoutInflater;)Landroid/view/View;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/community/CommunityAppListFragment;

.field final synthetic val$userModel:Lcom/brixd/niceapp/model/UserModel;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/community/CommunityAppListFragment;Lcom/brixd/niceapp/model/UserModel;)V
    .registers 3
    .param p1, "this$0"    # Lcom/brixd/niceapp/community/CommunityAppListFragment;

    .prologue
    .line 119
    iput-object p1, p0, Lcom/brixd/niceapp/community/CommunityAppListFragment$1;->this$0:Lcom/brixd/niceapp/community/CommunityAppListFragment;

    iput-object p2, p0, Lcom/brixd/niceapp/community/CommunityAppListFragment$1;->val$userModel:Lcom/brixd/niceapp/model/UserModel;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .registers 6
    .param p1, "v"    # Landroid/view/View;

    .prologue
    const/4 v3, 0x1

    .line 123
    iget-object v1, p0, Lcom/brixd/niceapp/community/CommunityAppListFragment$1;->val$userModel:Lcom/brixd/niceapp/model/UserModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/UserModel;->isInvited()Z

    move-result v1

    if-eqz v1, :cond_2c

    .line 124
    iget-object v1, p0, Lcom/brixd/niceapp/community/CommunityAppListFragment$1;->this$0:Lcom/brixd/niceapp/community/CommunityAppListFragment;

    invoke-virtual {v1}, Lcom/brixd/niceapp/community/CommunityAppListFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    const-string v2, "GotoPublishAppPageFromPersonalPage"

    invoke-static {v1, v2}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    .line 126
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/brixd/niceapp/community/CommunityAppListFragment$1;->this$0:Lcom/brixd/niceapp/community/CommunityAppListFragment;

    invoke-virtual {v1}, Lcom/brixd/niceapp/community/CommunityAppListFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    const-class v2, Lcom/brixd/niceapp/community/activity/PublishAppActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 127
    .local v0, "intent":Landroid/content/Intent;
    const-string v1, "GotoCommunity"

    invoke-virtual {v0, v1, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 128
    iget-object v1, p0, Lcom/brixd/niceapp/community/CommunityAppListFragment$1;->this$0:Lcom/brixd/niceapp/community/CommunityAppListFragment;

    invoke-virtual {v1, v0}, Lcom/brixd/niceapp/community/CommunityAppListFragment;->startActivity(Landroid/content/Intent;)V

    .line 134
    :goto_2b
    return-void

    .line 130
    .end local v0    # "intent":Landroid/content/Intent;
    :cond_2c
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/brixd/niceapp/community/CommunityAppListFragment$1;->this$0:Lcom/brixd/niceapp/community/CommunityAppListFragment;

    invoke-virtual {v1}, Lcom/brixd/niceapp/community/CommunityAppListFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    const-class v2, Lcom/brixd/niceapp/community/activity/AuthActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 131
    .restart local v0    # "intent":Landroid/content/Intent;
    const-string v1, "GotoCommunity"

    invoke-virtual {v0, v1, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 132
    iget-object v1, p0, Lcom/brixd/niceapp/community/CommunityAppListFragment$1;->this$0:Lcom/brixd/niceapp/community/CommunityAppListFragment;

    invoke-virtual {v1, v0}, Lcom/brixd/niceapp/community/CommunityAppListFragment;->startActivity(Landroid/content/Intent;)V

    goto :goto_2b
.end method
